package org.icsdt.sp.domain;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable(tableName="REGISTRO")
public class Registro implements IEntidade {

    @DatabaseField(generatedId = true)
    public int id;

    @DatabaseField(unique=true,index=true)
    public String chave;

    @DatabaseField
    public String valor;

    public Registro(){}

    public Registro(String chave, String valor){
	this.chave=chave;
	this.valor=valor;
    }
}
